﻿<Page
    x:Class="Cookbook.Views.RecipeDetailPrintView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Cookbook.Views"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:vm="using:Cookbook.ViewModels"
    mc:Ignorable="d">
  <Grid Background="White" Margin="50">
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto" />
      <RowDefinition Height="*" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="200" />
      <ColumnDefinition Width="*" />
    </Grid.ColumnDefinitions>
    
    <TextBlock Text="{Binding Recipe.Title}" FontSize="36" Grid.ColumnSpan="2" Margin="0,0,0,40"/>

    <Image Source="{Binding Recipe.ImagePath}" Grid.Row="1" Grid.Column="0" Margin="0,0,40,0" VerticalAlignment="Top"/>

    <TextBlock Text="{Binding Recipe.Instructions}" Grid.Row="1" Grid.Column="1" TextWrapping="Wrap" FontSize="16" />

  </Grid>
</Page>
